﻿using System.Diagnostics;

namespace CMWVS.Core.Mono
{
    public class MonoCompilerParams
    {
        #region Constructor

        private MonoCompilerParams()
        {
        }

        public MonoCompilerParams(CMWVS.Core.Projects.Solution sln, string buildConfiguration, string platform, TraceListener listener, MonoCompilerTarget target)
        {
            this.SLN = sln;
            this.BuildConfiguration = new MonoBuildConfiguration(buildConfiguration);
            this.Platform = new MonoBuildPlatform(platform);
            this.Target = target;
            this.Listener = listener;
        }

        #endregion Constructor

        internal TraceListener Listener
        {
            get;
            private set;
        }

        public CMWVS.Core.Projects.Solution SLN
        {
            get;
            private set;
        }

        public MonoCompilerTarget Target
        {
            get;
            private set;
        }

        public MonoBuildConfiguration BuildConfiguration
        {
            get;
            private set;
        }

        public MonoBuildPlatform Platform
        {
            get;
            private set;
        }
    }
}